From 6e4bba3d758cf6b0849dbca0e0d1174446eb7207 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 12 Feb 2021 08:36:21 +0100 Subject: [PATCH] build: Check for mallinfo2 instead of mallinfo Similar to https://github.com/llvm/llvm-project/commit/e89fcbfad6a3edb203ebdc2b1ead275fe909281a but the tests we use mallinfo() in really aren't important to not worth the effort to differentiate between mallinfo and mallinfo2. Only check for mallinfo2(). --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 729aa3ea19..8677754121 100644 --- a/meson.build +++ b/meson.build @@ -198,7 +198,7 @@ check_functions = [ '_lock_file', 'flockfile', 'mkstemp', - 'mallinfo', + 'mallinfo2', 'sincos', 'sincosf', ] -- 2.30.2